<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<LINK rel=stylesheet type=text/css href="../css/style.css">
<script type="text/javascript" src="../scripts/jquery-1.8.3.js"></script>
<script type="text/javascript">
	$(function() {

	});
	
</script>
<TITLE>青鸟租房 - 首页</TITLE>
</head>
<BODY>
	<DIV id=header class=wrap>
		<DIV id=logo>
			<IMG src="../images/logo.gif">
		</DIV>
	</DIV>
	<DIV id=navbar class=wrap>
		<DL class="search clearfix">
			<FORM id=sform method=post action=search.action>
				<DT>
					<UL>
						<LI class=bold>房屋信息</LI>
						<LI>标题：<INPUT class=text type=text name=title> <LABEL
							class=ui-blue><INPUT onclick=doSearch() value=搜索房屋
								type=button name=search> </LABEL>
						</LI>
					</UL>
				</DT>
				<DD>
					<UL>
						<LI class=first>价格</LI>
						<LI><SELECT name=price>
								<OPTION selected value="">不限</OPTION>
								<OPTION value=0-100>100元以下</OPTION>
								<OPTION value=100-200>100元—200元</OPTION>
								<OPTION value=200-1000000>200元以上</OPTION>
						</SELECT>
						</LI>
					</UL>
				</DD>
				<DD>
					<UL>
						<LI class=first>房屋位置</LI>
						<LI><SELECT id=street name=street_id>
								<OPTION selected value="">不限</OPTION>
								<OPTION value=1000>知春路</OPTION>
								<OPTION value=1001>中关村大街</OPTION>
								<OPTION value=1002>学院路</OPTION>
								<OPTION value=1003>朝阳路</OPTION>
						</SELECT>
						</LI>
					</UL>
				</DD>
				<DD>
					<UL>
						<LI class=first>房型</LI>
						<LI><SELECT name=type_id>
								<OPTION selected value="">不限</OPTION>
								<OPTION value=1000>一室一厅</OPTION>
								<OPTION value=1001>一室两厅</OPTION>
								<OPTION value=1002>两室一厅</OPTION>
								<OPTION value=1003>两室两厅</OPTION>
						</SELECT>
						</LI>
					</UL>
				</DD>
				<DD>
					<UL>
						<LI class=first>面积</LI>
						<LI><SELECT name=floorage>
								<OPTION selected value="">不限</OPTION>
								<OPTION value=0-40>40以下</OPTION>
								<OPTION value=40-500>40-500</OPTION>
								<OPTION value=500-1000000>500以上</OPTION>
						</SELECT>
						</LI>
					</UL>
				</DD>
			</FORM>
		</DL>
	</DIV>
	<DIV class="main wrap">
		<TABLE class=house-list>
			<TBODY>
			<c:forEach items="${sessionScope.houseList}" var="house">
				<TR>
					<TD class=house-thumb><span><A href="details.htm"
							target="_blank"><img src="../images/thumb_house.gif"
								width="100" height="75" alt=""> </a> </span></TD>
					<TD>
						<DL>
							<DT>
								<A href="getAllTypes.do?opr=details&id=${house.h_id}" target="_blank">${house.h_title}</A>
							</DT>
							<DD>
								${house.d_name}${house.s_name},${house.h_floorage}平米<BR>联系方式：${house.h_contact}
							</DD>
						</DL></TD>
					<TD class=house-type>${house.t_name}</TD>
					<TD class=house-price><SPAN>${house.h_price}</SPAN>元/月</TD>
				</TR>
			</c:forEach>	
			</TBODY>
		</TABLE>
		<DIV class=pager>
			<UL>
				<c:forEach items="${sessionScope.yeshu}" var="i">
				<LI class=current><A id=widget_338868862
					href="gethouseList.do?dijiye=${i}&opr=list"
					parseContent="true" showError="true" targets="houseArea"
					ajaxAfterValidation="false" validate="false"
					dojoType="struts:BindAnchor">${i}</A></LI>
				</c:forEach>
			</UL>
			<SPAN class=total>${sessionScope.pageIndex}/${sessionScope.total}页</SPAN>
		</DIV>
	</DIV>
	<DIV id=footer class=wrap>
		<DL>
			<DT>青鸟租房 © 2010 北大青鸟 京ICP证1000001号</DT>
			<DD>关于我们 · 联系方式 · 意见反馈 · 帮助中心</DD>
		</DL>
	</DIV>
</BODY>
</HTML>
